package com.libra.service;

import java.util.List;

import com.libra.model.mongoDb.Users;
import com.mongodb.client.result.DeleteResult;

/**
 * 
 * ClassName: mongoDB增删改查测试 <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason: TODO ADD REASON(可选). <br/>
 * date: 2018年8月8日 下午8:23:36 <br/>
 *
 * @author wangzhch
 * @version 
 * @since JDK 1.8
 */
public interface MongoDBUserTestService {
	public void saveUser(Users users);

	public Users findUserByPrimaryKey(String name);

	public Long removeUser(String name);

	public Long updateUserByPrimaryKey(Users users);

	public List<Users> listUser();
	
	public List<Users> listUser(String name);
}
